/*
 * Copyright (C) 2017-2021
 * All rights reserved, Designed By 深圳中科鑫智科技有限公司
 * Copyright authorization contact 18814114118
 */
package com.shop.cereshop.business.dao.order;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.cereshop.business.page.order.OrderProductAttribute;
import com.shop.cereshop.business.page.order.SkuDetail;
import com.shop.cereshop.business.param.order.ProductSku;
import com.shop.cereshop.commons.domain.order.CereOrderProductAttribute;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CereOrderProductAttributeDAO extends BaseMapper<CereOrderProductAttribute> {


    List<CereOrderProductAttribute> findBySkuId(@Param("skuId") Long skuId);


    List<OrderProductAttribute> findBySkus(@Param("skus") List<ProductSku> skus);


     List<SkuDetail> queryByOrderProductId(@Param("orderProductId") Long orderProductId);
}
